package com.atguigu.practice;

public class TheAddPlus {
    public static void main(String[] args) {
        System.out.println(Add(5,100));
    }
    public static int Add(int a,int b){
        int sum=0;
        int c=0;
        while(b!=0){
            sum=a^b;
            c=(a&b)<<1;
            a=sum;
            b=c;
        }
        return a;
    }
}
